import {createRouter,createWebHistory,RouteRecordRaw} from  'vue-router'

const routes:Array<RouteRecordRaw> = [

      {
        path:"/",
        component:()=>import('../views/UserRegister.vue')
      },
      {
        path:"/Admin",
        component:()=>import('../views/Admin.vue')
      }
]



const router = createRouter({
    history:createWebHistory(),
    routes:routes
})



export default router 